package com.ulife.category.dao;

import java.sql.SQLException;
import java.util.List;

import com.ulife.category.dao.dataobject.CategoryDo;

public interface CategoryDao {

	int insertCategory(CategoryDo cateDo) throws SQLException;

	int updateCategory(CategoryDo cateDo) throws SQLException;

	List<CategoryDo> queryAllEnableCategoryByParentId(Long cParentid) throws SQLException;

	CategoryDo queryCategoryById(Long cateId) throws SQLException;

	List<CategoryDo> queryAllEnableCategory() throws SQLException;

}
